//
//  LCBMessageCell.h
//  UITableView
//
//  Created by Administrator on 2016/11/13.
//  Copyright © 2016年 Administrator. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ICLCBMessageButton.h"
#import "ICChitChatHeader.h"
@class LCBMessage;



@interface LCBMessageCell : UITableViewCell

/** 中布局 背景图 */
@property (nonatomic, strong) UIImageView * bgView;
/**  时间 */
@property (nonatomic , strong) UILabel * timeLabel;

@property (nonatomic , strong) UIButton * textButton;

@property (nonatomic , strong) UIImageView * iconView;

@property (nonatomic , strong) LCBMessage *message;

//@property (nonatomic, strong) LCBMessage * message;

@property (nonatomic, assign) NSInteger identifier;

//@property (nonatomic, weak) id<LCBMessageCellDelegate> delegate;

+ (instancetype)cellWithTableView:(UITableView *)tableView reusableId:(NSString *)ID selectionStyle:(LCBMessageType)type SendMessageStyle:(ICChitChatMessageState )messagetype;

- (void)buildViews;

- (void)setConstraint;

-(void)timeLabelhideTime:(LCBMessage *)message;

//- (void)setMessage:(LCBMessage *)message;

@end
